package com.sky.skyopsserver.vos;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Positive;
import jakarta.validation.constraints.Size;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 更新主机组请求VO
 * 
 * @author Administrator
 * @since 2025-01-17
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class HostGroupUpdateReqVO {
    
    /**
     * 主键唯一ID
     */
    @NotNull(message = "主机组ID不能为空")
    @Positive(message = "主机组ID必须为正数")
    private Long id;
    
    /**
     * 分组名称
     */
    @NotBlank(message = "分组名称不能为空")
    @Size(max = 255, message = "分组名称长度不能超过255个字符")
    private String name;
    
    /**
     * 备注
     */
    @Size(max = 255, message = "备注长度不能超过255个字符")
    private String remark;
}